package cn.cxy.demo.network

import cn.cxy.demo.network.response.ApiResult
import cn.cxy.demo.network.response.Article
import cn.cxy.demo.network.response.Pagination
import retrofit2.http.GET

interface ApiService {

    @GET("/article/list/0/json")
    suspend fun getArticleList(): ApiResult<Pagination<Article>>
}